package com.wmx.queue;

import java.util.Deque;
import java.util.LinkedList;
import java.util.Queue;
import java.util.concurrent.DelayQueue;

public  class QueueTest {
    public static void main(String[] args) {

        Queue<String> queue = new LinkedList<String>();
        queue.add("a");
        queue.add("b");
        queue.add("c");

        System.out.println(queue);
        System.out.println( queue.poll());
        System.out.println(queue);
    }
}
